import axios from "axios";
axios.interceptors.request.use((config)=>{
    
config.headers.Authorization=window.sessionStorage.getItem("token")
    return config
})

axios.interceptors.response.use(({data:res})=>{

    return res
})

export default axios